<?php
echo "计算用户输入两个整数的加减乘除的结果\n";
echo "请输入两个整数，用逗号分隔开来：\n";
$count=fscanf(STDIN, "%d ,%d", $a, $b);
//var_dump($count, $a,$b);
$jia=$a+$b;
$jian=$a-$b;
echo "$a + $b = $jia\n";
echo "$a - $b = $jian\n";